package com.atguigu.gulimall.ware.service;

import com.atguigu.gulimall.ware.vo.MergeVo;
import com.atguigu.gulimall.ware.vo.PurchaseDoneVo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.atguigu.common.utils.PageUtils;
import com.atguigu.gulimall.ware.entity.PurchaseEntity;

import java.util.List;
import java.util.Map;

/**
 * 采购信息
 *
 * @author liuShiYu
 * @email 2426237645@qq.com
 * @date 2025-03-12 21:33:51
 */
public interface PurchaseService extends IService<PurchaseEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 列表status为0的采购单****
     */
    PageUtils queryPageUnreceivePurchase(Map<String, Object> params);

    /**
     * 合并采购项****
     */
    void mergePurchase(MergeVo mergeVo);

    /**
     *  领取采购单****
     */
    void received(List<Long> ids);

    /**
     *  完成采购****
     */
    void done(PurchaseDoneVo purchaseDoneVo);
}

